package com.example.qy.service.impl;

import com.example.qy.mapper.DfMapper;
import com.example.qy.pojo.df;
import com.example.qy.service.DfService;
import com.example.qy.service.WyfService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DfServiceImpl implements DfService {
    @Resource
    private DfMapper dfMapper;
    @Override
    public List<df> select(String username) {
        return dfMapper.select(username);
    }

    @Override
    public List<df> selectall() {
        return dfMapper.selectall();
    }

    @Override
    public void add(df df) {
        dfMapper.add1(df);
        dfMapper.add2(df);
        dfMapper.add3(df);
        dfMapper.add4(df);
        dfMapper.add5(df);
        dfMapper.add6(df);
        dfMapper.add7(df);
        dfMapper.add8(df);
        dfMapper.add9(df);
        dfMapper.add10(df);
        dfMapper.add11(df);
        dfMapper.add12(df);



    }

    @Override
    public void delete(int uid) {
        dfMapper.delete(uid);
    }
}
